import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'normalize.css'
import instance from './utils/axios'
import VueAMap from 'vue-amap'
import Clipboard from 'clipboard'; 


Vue.use(VueAMap)
VueAMap.initAMapApiLoader({
  key: '05642f94f0b700799263499eac462f3b',
  plugin: ['AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PlaceSearch', 'AMap.Geolocation', 'AMap.Geocoder'],
  v: '1.4.4',
  uiVersion: '1.0'
})
Vue.config.productionTip = false
Vue.prototype.$http = instance
Vue.prototype.Clipboard=Clipboard

Vue.use(ElementUI)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
